﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Y2015CS68LIB.OOP_LIB.INHERISTANCES
{
    public class CONCHO : LOPDONGVAT
    {
        private bool isDuoi;

        public CONCHO(bool isChan, bool isMat, bool isDuoi) 
            : base(isChan, isMat)
        {
            this.isDuoi = isDuoi;
        }
        public void Demo()
        {
            //1. Phuong thuc
            BietChay();
            BietNgu();

            //2. Thuoc tinh
            bool isChan = Chan;
            bool isMat = Mat;
        }

        public bool Duoi
        {
            get { return isDuoi; }
            set { isDuoi = value; }
        }
    }
}
